import Cookies from "js-cookie";

export  function getToken() {
  const str = Cookies.get("vuex-token");
  return str? JSON.parse(str).user.token:'';
}